package com.jetpack_sunflower.data

import androidx.room.Embedded
import androidx.room.Relation

/**
 *  @Embedded
lateinit var plant: Plant

@Relation(parentColumn = "id", entityColumn = "plant_id")
var gardenPlantings: List<GardenPlanting> = arrayListOf()
 */

class PlantAndGardenPlantings {
    @Embedded
    lateinit var plant: Plant

    @Relation(parentColumn = "id", entityColumn = "plant_id")
    var gardenPlantings: List<GardenPlanting> = arrayListOf()
}

/**
@Relation(parentColumn = "id", entityColumn = "plant_id")
var gardenPlantings: List<GardenPlanting> = arrayListOf()
 */
